home *** CD-ROM | disk | FTP | other *** search
- Submitted-by: lwv26@cas.org (Larry W. Virden)
-
- In <20dgdfINNs6n@rodan.uu.net> Jason Zions <jazz@hal.com> wrote:
- >Strictly conforming applications don't try to read() directories
- >with the assumption that they're doing something equivalent to readdir(),
- >since the standard doesn't say they can; however, a strictly-conforming
- >application is allowed to read() a directory for any purpose.
-
- So an application needs to do a stat first and determine whether the file
- type is one which is permitted to be read() before doing the reading? Moving
- back to the question of the grep -s - is it then permitted for grep to
- be silent about the fact that one of the arbitrary character string arguments
- is a directory that is being skipped? Certainly it is permissible for grep
- to be silent about the fact that one of said character strings does not exist,
- or is not readable.
-
- I guess someone will have to write up one of the interpretation requests.
-
- --
- :s
- :s Larry W. Virden INET: lvirden@cas.org
- :s Personal: 674 Falls Place, Reynoldsburg, OH 43068-1614
-
-
- Volume-Number: Volume 31, Number 87
-
-